// 右侧购物车固定栏
.floatbar {
    width: 37px;
    height: 100%;
    position: fixed;
    top: 0px;
    right: 0px;
    background-color: #444851;
    z-index: 55500;
    .floatbar-ul {
        padding-top: 237px;
        width: 37px;
        li {
            background-color: #30343d;
            border-bottom: 1px solid #444851;
            position: relative;
            z-index: 1500;
            height: 36px;
            span{
                width: 34px;
                height: 36px;
                position: relative;
                background: url(/images/iconlist.png) no-repeat left top;
                display: block;
                z-index: 1500;
            }
            .red-smallbox{
                width: 0px;
                height: 36px;
                line-height: 36px;
                padding-left: 10px;
                text-align: left;
                position: absolute;
                color: #fff;
                top: 0px;
                right: -10px;
                background-color: rgba(228, 27, 84 ,.9);
                transition: width 0.5s;
                font-size: 12px;
                overflow: hidden;
            }
        }
        .btn-backtop{
            &:hover {
                .red-smallbox{
                    width: 100px;
                }
            }
        }
        .btn-hd{
            span{
                background-position: 0px -37px;
            }
            &:hover {
                .red-smallbox{
                    width: 100px;
                }
            }
        }
        .btn-cart{
            height: 138px;
            span{
                background-position: 0px -179px;
            }
            strong{
                padding: 7px 12px;
                width: 12px;
                font-size: 14px;
                font-weight: normal;
                color: #fff;
                display: block;
            }
            .count{
                height: 20px;
                width: 20px;
                line-height: 20px;
                text-align: center;
                font-size: 14px;
                color: #fff;
                margin: 0 auto;
                background-color: #d02631;
                text-decoration: none;
                border-radius: 10px;
                display: block;
            }
            &:hover{
                background-color: rgba(228, 27, 84 ,.9);
                .count{
                    background-color: #fff;
                    color: #d02631;
                }
            }
        }
        .btn-sc{
            span{
                background-position: 0px -74px;
            }
            &:hover {
                .red-smallbox{
                    width: 100px;
            
                }
            }
        }
    }
}